Double-checked locking
DESIGN PATTERN ONLY LOCKING IF THE LOCKING CRITERION CHECK INDICATES THAT LOCKING IS REQUIRED
Double checked locking pattern; Double checked locking; Double check locking; Double-checked locking optimization; Double-checked locking optimisation
In software engineering, double-checked locking (also known as "double-checked locking optimization"Schmidt, D et al. Pattern-Oriented Software Architecture Vol 2, 2000 pp353-363) is a software design pattern used to reduce the overhead of acquiring a lock by testing the locking criterion (the "lock hint") before acquiring the lock.